﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Leikjavefurinn.Controllers
{
    public class ActiveGameController : Controller
    {
        public ActionResult Index()
        {
            var db = new GameDBDataContext();
            var active = from s in db.Games
                         select s;
            return View(active);
        }

    }
}
